#import <Foundation/Foundation.h>
#define WHCSqlite WHC_ModelSqlite
@protocol WHC_SqliteInfo <NSObject>
@optional
+ (NSString *)whc_SqlitePath;
+ (NSString *)whc_SqliteVersion;
+ (NSString *)whc_SqlitePasswordKey;
+ (NSString *)whc_SqliteMainkey;
+ (NSArray *)whc_IgnorePropertys;
+ (NSString *)whc_OtherSqlitePath;
+ (NSString *)whc_TableName;
@end
@interface WHC_ModelSqlite : NSObject
+ (BOOL)inserts:(NSArray *)model_array;
+ (BOOL)insert:(id)model_object;
+ (NSUInteger)count:(Class)model_class;
+ (NSArray *)query:(Class)model_class;
+ (NSArray *)query:(Class)model_class where:(NSString *)where;
+ (NSArray *)query:(Class)model_class order:(NSString *)order;
+ (NSArray *)query:(Class)model_class limit:(NSString *)limit;
+ (NSArray *)query:(Class)model_class where:(NSString *)where order:(NSString *)order;
+ (NSArray *)query:(Class)model_class where:(NSString *)where limit:(NSString *)limit;
+ (NSArray *)query:(Class)model_class order:(NSString *)order limit:(NSString *)limit;
+ (NSArray *)query:(Class)model_class where:(NSString *)where order:(NSString *)order limit:(NSString *)limit;
+ (NSArray *)query:(Class)model_class sql:(NSString *)sql;
+ (id)query:(Class)model_class func:(NSString *)func;
+ (id)query:(Class)model_class func:(NSString *)func condition:(NSString *)condition;
+ (BOOL)update:(id)model_object where:(NSString *)where;
+ (BOOL)update:(Class)model_class value:(NSString *)value where:(NSString *)where;
+ (BOOL)clear:(Class)model_class;
+ (BOOL)delete:(Class)model_class where:(NSString *)where;
+ (void)removeAllModel;
+ (void)removeModel:(Class)model_class;
+ (NSString *)localPathWithModel:(Class)model_class;
+ (NSString *)versionWithModel:(Class)model_class;
@end
